using Microsoft.Samples.ServiceHosting.StorageClient;

namespace KlearTweet.Web.Storage
{
    public class Account : TableStorageEntity
    {
        public string UserName { get; set; }
        public string AuthToken { get; set; }
        public string AuthTokenSecret { get; set; }
        public string ApplicationConsumerKey { get; set; }

        public override string PartitionKey
        {
            get { return AuthToken; }
            set { AuthToken = value; }
        }
        public override string RowKey
        {
            get { return UserName; }
            set { UserName = value; }
        }
    }
}
